#ifndef ITEMEDITOR_H
#define ITEMEDITOR_H

#include <QDialog>
#include "acdb.h"

namespace Ui {
    class ItemEditor;
}

class ItemEditor : public QDialog
{
    Q_OBJECT

public:
    explicit ItemEditor(int id, AcDB* db, QWidget *parent = 0);
    ~ItemEditor();

private:
    Ui::ItemEditor *ui;
    QList< QList<QVariant> > typeSelections;
    int id;
    AcDB* m_db;



private slots:
    void on_itemDeleteFile_clicked();
    void on_itemChangeFile_clicked();
    void on_itemView_clicked();
    void on_okBt_clicked();
    void on_cancelBt_clicked();
    void on_itemType_currentIndexChanged(int index);
};

#endif // ITEMEDITOR_H
